#{extends 'noTab.html' /} #{set title: 'SuperSoft Search Results' /}

<h4><a href="@{Application.index()}">Back to First Page</a></h4>
<br/>

<h4>Entities by name</h4>
#{list items:entityByNameResult, as:'product'}
    
#{if !(product.organization.isSecret()) || product.organization.isMember(id)}
   <a href = @{Browse.viewEntity(product.id)} class="standardLink"> ${product.name}</a><br/>
#{/if}
#{else}
     secret : ${product.name} <br>
#{/else}
#{/list}
#{else}
    No Entities match your key word
#{/else}

<br/><br/>

<h4>Entities by description</h4>
#{list items:entityByKeyResult, as:'product'}
    
#{if !(product.organization.isSecret()) || product.organization.isMember(id)}
   <a href = @{Browse.viewEntity(product.id)} class="standardLink"> ${product.name}</a><br/>
#{/if}
#{/list}
#{else}
    No entities have this description
#{/else}

<br/><br/>
